package com.ailesson.video.enums;

public enum CourseStateEnum {
    UNPUBLISH(0,"未发布"),
    PUBLISH(1,"已发布");

    private int code;
    private String name;

    CourseStateEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
